/**
 * 
 */
package com.xmlutils.beans;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**   
* @Title: XmlReportBean.java 
* @Package com.bean 
* @Description: 
* @author Tonsen
* @date 2021年5月19日 下午4:39:50 
* @version V1.0  
* @user Tonsen
* @update 
* 2021年5月19日 下午4:39:50 
*/
public class ReportSuitBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String suitName;
	private String suitTimestamp;
	private String suitHostname;
	private String suitTests;
	private String suitFailures;
	private String suitTime;
	
	
	private List<ReportCaseBean> casesList;

	public ReportSuitBean() {
		this.suitName = "";
		this.suitTimestamp = "";
		this.suitHostname = "";
		this.suitTests = "";
		this.suitFailures = "";
		this.suitTime = "";
		this.casesList = Collections.synchronizedList(new ArrayList<ReportCaseBean>());
		
	}
	
	public ReportSuitBean(String name, String timestamp, String hostname, String tests, String failures, String time) {
		this.suitName = name;
		this.suitTimestamp = timestamp;
		this.suitHostname = hostname;
		this.suitTests = tests;
		this.suitFailures = failures;
		this.suitTime = time;
		this.casesList = Collections.synchronizedList(new ArrayList<ReportCaseBean>());
		
	}
	
	public String getSuitName() {
		return suitName;
	}


	public void setSuitName(String suitName) {
		this.suitName = suitName;
	}


	public String getSuitTimestamp() {
		return suitTimestamp;
	}


	public void setSuitTimestamp(String suitTimestamp) {
		this.suitTimestamp = suitTimestamp;
	}


	public String getSuitHostname() {
		return suitHostname;
	}


	public void setSuitHostname(String suitHostname) {
		this.suitHostname = suitHostname;
	}


	public String getSuitTests() {
		return suitTests;
	}


	public void setSuitTests(String suitTests) {
		this.suitTests = suitTests;
	}


	public String getSuitFailures() {
		return suitFailures;
	}


	public void setSuitFailures(String suitFailures) {
		this.suitFailures = suitFailures;
	}


	public String getSuitTime() {
		return suitTime;
	}


	public void setSuitTime(String suitTime) {
		this.suitTime = suitTime;
	}


	public List<ReportCaseBean> getCasesList() {
		return casesList;
	}


	public void setCasesList(List<ReportCaseBean> casesList) {
		this.casesList = casesList;
	}
	
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("name=" + this.suitName);
		builder.append(" timestamp=" + this.suitTimestamp);
		builder.append(" hostname=" + this.suitHostname);
		builder.append(" tests=" + this.suitTests);
		builder.append(" failures=" + this.suitFailures);
		builder.append(" time=" + this.suitTime);
		return builder.toString();
	}
}
